package com.zhiyou.hospital.ssh.service.impl;

import com.zhiyou.hospital.ssh.dao.IPermissionDao;
import com.zhiyou.hospital.ssh.model.PermissionModel;
import com.zhiyou.hospital.ssh.service.IPermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by zhouyanchao on 2017/10/19.
 * Descr:
 */
@Service
public class PermissionServiceImpl extends BaseServiceImpl<PermissionModel> implements IPermissionService {

	@Autowired
	IPermissionDao permissionDao;

	@Override
	public List<PermissionModel> queryAllPermissions() {
		return permissionDao.queryAllPermissions();
	}
}
